package com.kgc.collection.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class SalesCollectionRefundDetail implements Serializable {

  private int id;
  private String mainCode;
  private String refundName;
  private BigDecimal refundAmount;
  private BigDecimal verAmount;
  private BigDecimal taxRate;
  private BigDecimal taxAmount;
  private String notes;
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date createTime;
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date updateTime;
  private String sourceSheet;
  private  String createBy;
  private  String updateBy;
  private int isDelete;
  private int refundAccount;
  private int refundWay;



  public SalesCollectionRefundDetail() {
  }

  public SalesCollectionRefundDetail(int id, String mainCode, String refundName, BigDecimal refundAmount, BigDecimal verAmount, BigDecimal taxRate, BigDecimal taxAmount, String notes, Date createTime, Date updateTime, String sourceSheet, String createBy, String updateBy, int isDelete, int refundAccount, int refundWay) {
    this.id = id;
    this.mainCode = mainCode;
    this.refundName = refundName;
    this.refundAmount = refundAmount;
    this.verAmount = verAmount;
    this.taxRate = taxRate;
    this.taxAmount = taxAmount;
    this.notes = notes;
    this.createTime = createTime;
    this.updateTime = updateTime;
    this.sourceSheet = sourceSheet;
    this.createBy = createBy;
    this.updateBy = updateBy;
    this.isDelete = isDelete;
    this.refundAccount = refundAccount;
    this.refundWay = refundWay;
  }




  public int getRefundAccount() {
    return refundAccount;
  }

  public void setRefundAccount(int refundAccount) {
    this.refundAccount = refundAccount;
  }

  public int getRefundWay() {
    return refundWay;
  }

  public void setRefundWay(int refundWay) {
    this.refundWay = refundWay;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getMainCode() {
    return mainCode;
  }

  public void setMainCode(String mainCode) {
    this.mainCode = mainCode;
  }

  public String getRefundName() {
    return refundName;
  }

  public void setRefundName(String refundName) {
    this.refundName = refundName;
  }

  public BigDecimal getRefundAmount() {
    return refundAmount;
  }

  public void setRefundAmount(BigDecimal refundAmount) {
    this.refundAmount = refundAmount;
  }

  public BigDecimal getVerAmount() {
    return verAmount;
  }

  public void setVerAmount(BigDecimal verAmount) {
    this.verAmount = verAmount;
  }

  public BigDecimal getTaxRate() {
    return taxRate;
  }

  public void setTaxRate(BigDecimal taxRate) {
    this.taxRate = taxRate;
  }

  public BigDecimal getTaxAmount() {
    return taxAmount;
  }

  public void setTaxAmount(BigDecimal taxAmount) {
    this.taxAmount = taxAmount;
  }

  public String getNotes() {
    return notes;
  }

  public void setNotes(String notes) {
    this.notes = notes;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }

  public String getSourceSheet() {
    return sourceSheet;
  }

  public void setSourceSheet(String sourceSheet) {
    this.sourceSheet = sourceSheet;
  }

  public String getCreateBy() {
    return createBy;
  }

  public void setCreateBy(String createBy) {
    this.createBy = createBy;
  }

  public String getUpdateBy() {
    return updateBy;
  }

  public void setUpdateBy(String updateBy) {
    this.updateBy = updateBy;
  }

  public int getIsDelete() {
    return isDelete;
  }

  public void setIsDelete(int isDelete) {
    this.isDelete = isDelete;
  }

  @Override
  public String toString() {
    return "SalesCollectionRefundDetail{" +
            "id=" + id +
            ", mainCode=" + mainCode +
            ", refundName='" + refundName + '\'' +
            ", refundAmount=" + refundAmount +
            ", verAmount=" + verAmount +
            ", taxRate=" + taxRate +
            ", taxAmount=" + taxAmount +
            ", notes='" + notes + '\'' +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
            ", sourceSheet='" + sourceSheet + '\'' +
            ", createBy='" + createBy + '\'' +
            ", updateBy='" + updateBy + '\'' +
            '}';
  }


}
